home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / AMReminder / ResourceDefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-17  |  2.8 KB  |  100 lines  |  [TEXT/CWIE]

  1. // ResourceDefs.h 
  2.  
  3. // Standard Resources: 
  4. // ALRT IDs 
  5. const short AboutID                = 1;
  6. const short NeedsAppearanceID    = 2;
  7. const short IOErrorID            = 4;
  8. const short SaveID                = 5;
  9. const short RevertID            = 6;
  10. const short CantPrintID            = 8;
  11.  
  12. // 'STR ' IDs 
  13. const short STR_SaveAsPrompt    = 202;
  14.  
  15. // commands:
  16. const long    cmdQuit            = 'Quit';
  17. const long    cmdNew            = 'New ';
  18. const long    cmdOpen            = 'Open';
  19. const long    cmdClose        = 'Cloe';
  20. const long    cmdSave            = 'Save';
  21. const long    cmdSaveAs        = 'Savs';
  22. const long    cmdRevert        = 'Revt';
  23. const long    cmdPageSetup    = 'Pagp';
  24. const long    cmdPrint        = 'Prit';
  25. const long    cmdUndo            = 'Undo';
  26. const long    cmdCut            = 'Cut ';
  27. const long    cmdCopy            = 'Copy';
  28. const long    cmdPaste        = 'Pase';
  29. const long    cmdClear        = 'Cler';
  30. const long    cmdSelectAll    = 'Sell';
  31. const long    cmdShowClipboard    = 'Shod';
  32. const long    cmdAbout        = 'Abot';
  33.  
  34. // AMReminder Resources: 
  35. const long    MENU_Apple        = 128;
  36. const long    cAppleAbout        = (128 * 65536) + 1;
  37.  
  38. const long    MENU_File        = 129;
  39. const long    cFileNew        = (129 * 65536) + 1;
  40. const long    cFileOpen        = (129 * 65536) + 2;
  41. const long    cFileClose        = (129 * 65536) + 4;
  42. const long    cFileSave        = (129 * 65536) + 5;
  43. const long    cFileSaveAs        = (129 * 65536) + 6;
  44. const long    cFileRevert        = (129 * 65536) + 7;
  45. const long    cFilePageSetup        = (129 * 65536) + 9;
  46. const long    cFilePrint        = (129 * 65536) + 10;
  47. const long    cFileQuit        = (129 * 65536) + 12;
  48.  
  49. const long    MENU_Edit        = 130;
  50. const long    cEditUndo        = (130 * 65536) + 1;
  51. const long    cEditCut        = (130 * 65536) + 3;
  52. const long    cEditCopy        = (130 * 65536) + 4;
  53. const long    cEditPaste        = (130 * 65536) + 5;
  54. const long    cEditClear        = (130 * 65536) + 6;
  55. const long    cEditSelectAll        = (130 * 65536) + 7;
  56. const long    cEditShowClipboard        = (130 * 65536) + 9;
  57.  
  58. const long    MENU_Remind        = 131;
  59. const long    cRemindCancelReminder        = (131 * 65536) + 1;
  60. const long    cRemindHideReminders        = (131 * 65536) + 2;
  61.  
  62.  
  63. // for MainWindow:
  64. const long    WIND_MainWindow        = 200;
  65. const long    PICT_Logo        = 202;
  66. const long    CNTL_Logo        = 201;
  67. const long    CNTL_Year        = 203;
  68. const long    TEXT_Year        = 204;
  69. const long    CNTL_RemindersLabel        = 205;
  70. const long    TEXT_RemindersLabel        = 206;
  71. const long    CNTL_Reminders        = 208;
  72. const long    CNTL_Add        = 209;
  73. const long    CNTL_Edit        = 210;
  74. const long    CNTL_Delete        = 211;
  75.  
  76. // for Reminder:
  77. const long    WIND_Reminder        = 220;
  78. const long    CNTL_Date        = 221;
  79. const long    TEXT_Date        = 222;
  80. const long    CNTL_Time        = 223;
  81. const long    TEXT_Time        = 224;
  82. const long    CNTL_Message        = 225;
  83. const long    TEXT_Message        = 226;
  84. const long    CNTL_Line        = 227;
  85.  
  86. // for Add:
  87. const long    DLOG_Add        = 230;
  88.  
  89. // commands:
  90. const long    cmdAddReminder    = 'Addr';
  91. const long    cmdEditReminder    = 'Edir';
  92. const long    cmdDeleteReminder    = 'Delr';
  93.  
  94. // menu handles
  95. extern MenuHandle        AppleMenu;
  96. extern MenuHandle        FileMenu;
  97. extern MenuHandle        EditMenu;
  98. extern MenuHandle        RemindMenu;
  99. extern MenuHandle        SoundPopupMenu;
  100.